package com.example.recordingpen_datacollection.service;

import com.alibaba.fastjson.JSONObject;
import com.example.recordingpen_datacollection.entity.DosageStatistics;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.recordingpen_datacollection.entity.Vo.AISumUp;
import com.example.recordingpen_datacollection.result.RLIST;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xg
 * @since 2023-11-29
 */
public interface DosageStatisticsService extends IService<DosageStatistics> {

    JSONObject getConference(Map<String, Object> map, String id);

    RLIST setDSMessage(AISumUp aiSumUp, Integer value);


    @Scheduled(fixedRate = 20000)
    void asynchronousProcessing();

    JSONObject getConferenceV2(Map<String, Object> map, String id);
}
